//package com.example.lcpharmacy.lcutils.intercepter;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
//
//import javax.annotation.Resource;
//
//@Configuration
//public class ConfigIntercepter extends WebMvcConfigurationSupport {
//
//    @Autowired
//    private AuthIntercepter authIntercepter;
//
//
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        //注册自己编辑的Interceptor拦截器
//        //registry.addInterceptor(authIntercepter);
////        registration.excludePathPatterns(                         //添加不拦截路径
////                "你的登陆路径",            //登录
////                "/**/*.html",            //html静态资源
////                "/**/*.js",              //js静态资源
////                "/**/*.css",             //css静态资源
////                "/**/*.woff",
////                "/**/*.ttf"
////        );
//    }
//}
